import { http } from '@kit.NetworkKit';

//数据请求对象
let httpRequest = http.createHttp();
const getEmpListUrl = "http://localhost:8082/sys/emp/list";
/**
 * 用于获取所有员工信息的方法
 */
export const getEmpList = (page:number,size:number):Promise<http.HttpResponse>=>{
  return httpRequest.request(getEmpListUrl+"?page="+page+"&size="+size);
}